<div id="registration">
	<h1><%= t('Sign in') %></h1>
	<% if flash[:notice]%>
    <%= content_tag(:div, flash[:notice], :class => "flash notice") %>
  	<% end%>

	
<%= form_tag session_auth_path do%>
  <div class="field">
    <%= label_tag "email" %><br />
    <%= text_field_tag :login_email %>
  </div>
  <div class="field">
    <%= label_tag t("password") %><br />
    <%= password_field_tag :login_password %>
  </div>
  <div class="actions">
    <%= submit_tag t("Sign in"),:class => 'btn'%>
  </div>
<% end %>
	<%= link_to t('Back'), :controller => 'default',:action => 'index' %>
</div>